//
//  CLSettingItem.m
//  togetherLBS
//
//  Created by louis on 15/9/11.
//  Copyright (c) 2015年 celi. All rights reserved.
//

#import "CLSettingItem.h"

@implementation CLSettingItem

+ (instancetype)itemWithIcon:(NSString *)icon title:(NSString *)title
{
    CLSettingItem *item = [[self alloc] init];
    item.icon = icon;
    item.title = title;
    return item;
}


+ (instancetype)itemWithTitle:(NSString *)title
{
    return [self itemWithIcon:nil title:title];
}

+ (instancetype)itemWithTitle:(NSString *)title subTitle:(NSString *)subTitle
{
    CLSettingItem *item = [self itemWithTitle:title];
    item.subtitle = subTitle;
    return item;
}
@end
